<template>
    <div>
        <h1> 父组件 ---------{{message}}</h1>
    </hr>
    <slotsubcomponent>
           <!--<p>{{message}}</p>-->
    </slotsubcomponent>
    </div>
</template>

<script  setup>
import SlotSubComponent from './SlotSubComponent.vue';

const message = "这是组件的自定义内容"

</script>

<style lang="scss" scoped></style>